package com.futureCloudMOM.core.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.futureCloudMOM.core.entity.FBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Basic_TransferDesc", description = "事务类别表")
@TableName(value = "Basic_TransferDesc")
public class BasicTransferDesc extends FBaseEntity implements Serializable {


    
    @NotBlank(message="[事务类型描述]不能为空")
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("事务类型描述")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "transferDesc")
    private String transferDesc;






}

